from django.db import models

# Create your models here.
class Content(models.Model):
    uid = models.IntegerField()
    content = models.CharField(max_length=10000)
    time = models.DateTimeField(auto_now_add = True)

class Like(models.Model):
    uid = models.IntegerField()
    tid = models.IntegerField()
    time = models.DateTimeField(auto_now_add = True)

class Comment(models.Model):
    uid = models.IntegerField()
    tid = models.IntegerField()
    content = models.CharField(max_length=10000)
    time = models.DateTimeField(auto_now_add = True)
